{{- if partial "functions/toc" . -}}
<div id="postTOC" class="mb-3 text-surface">
  <h2 class="mb-3">
    {{- i18n "table_of_contents" -}}
    <a class="anchor ms-1" href="#postTOC"></a>
  </h2>
  {{ .TableOfContents }}
  <hr class="text-secondary">
</div>
{{- end -}}
